package com.hmall.api.client.order;

import com.hmall.api.dto.OrderDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("trade-service")
public interface TradeClient {
    @PutMapping("/orders")
    void updateById(@RequestBody OrderDTO order);
}
